package com.bfly.mall.user.dto;

import java.io.Serializable;

/**
 * 收货地址列表DTO
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 20:33
 */
public class AddressListDTO implements Serializable {

    private static final long serialVersionUID = 4740149841110181335L;

    private int id;

    /**
     * 省份
     */
    private String province;
    private int provinceId;

    /**
     * 市
     */
    private String city;
    private int cityId;

    /**
     * 行政区/镇
     */
    private String district;
    private int districtId;

    /**
     * 详细地址
     */
    private String address;


    /**
     * 所属用户
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/18 20:59
     */
    private int userId;

    /**
     * 用户昵称
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/18 21:06
     */
    private String nickName;

    /**
     * 手机号码
     *
     * @author 长沙商脉科技有限公司
     */
    private String phone;

    /**
     * 收件人
     */
    private String consignee;

    private boolean defaultAddress;

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getDistrictId() {
        return districtId;
    }

    public void setDistrictId(int districtId) {
        this.districtId = districtId;
    }

    public boolean isDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(boolean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }
}
